###############################################################################
# Name: KTaskEditDialog.py                                                    #
# Author: Marijo Mihelcic <marijo.mihelcic@gmail.com>                         #
# Copyright: (c) 2009 Marijo Mihelcic <marijo.mihelcic@gmail.com>             #
# Licence: GNU General Public License v3                                      #
###############################################################################

from PyQt4 import QtCore, QtGui
from gui import KTaskTimerEditTaskUI
"""
from KTaskEditUI import Ui_TaskEditDialog
"""

class TaskEditDialog(QtGui.QDialog):
    def __init__(self, parent):
        QtGui.QDialog.__init__(self, parent)

        # Set up the user interface from Designer.
        self.ui = KTaskTimerEditTaskUI.Ui_TaskEditDialog()
        self.ui.setupUi(self)

        QtCore.QObject.connect(self.ui.buttonBox, QtCore.SIGNAL("rejected()"), self.reject)
        QtCore.QObject.connect(self.ui.buttonBox, QtCore.SIGNAL("accepted()"), self.accept)
